class CreateStoreStaffs < ActiveRecord::Migration
  def change
    create_table :store_staffs do |t|
      t.string :login_name
      t.string :full_name
      t.string :encrypted_password
      t.string :salt
      t.integer :store_id
      t.string :address
      t.string :phone_number
      t.boolean :admin, default: false
      t.boolean :available, default: true
      t.timestamps null: false
    end
  end
end
